<?php defined('IN_ADMIN') or exit('No permission resources.'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET;?>" />
<link rel="stylesheet" type="text/css" href="<?php echo CSS_PATH?>admin/css/reset.css"/>
<link rel="stylesheet" type="text/css" href="<?php echo CSS_PATH?>admin/css/css.css"/>
<title>网站登录</title>

</head>

<body>
<script type="text/javascript" charset="utf-8" src="<?php echo JS_PATH?>jquery.min.js"></script>
<script type="text/javascript">
$(function(){
	$("#username").focus();
})
</script>
<div class="admin_top"></div>
<div class="login_middle_outer">
<div class="login_middle_inner">

<div class="login_main">

<div class="login_form">
<form action="index.php?m=admin&c=index&a=login&dosubmit=1" method="post" name="myform">
<ul>
<li><label for="username"><?php echo L('username')?></label><input type="text" id="username" name="username"/></li>
<li><label for="password"><?php echo L('password')?></label><input type="password" id="password" name="password"/></li>
<li><label for="captcha"><?php echo L('security_code')?></label><input type="text" id="captcha" class="captcha" name="code" type="text" onfocus="document.getElementById('yzm').style.display='block'"/></li>
</ul>


<p id="yzm" class="yzm" style="display:none;"><?php echo form::checkcode('code_img')?><br/><a href="javascript:document.getElementById('code_img').src='<?php echo SITE_PROTOCOL.SITE_URL.WEB_PATH;?>api.php?op=checkcode&m=admin&c=index&a=checkcode&time='+Math.random();void(0);"><?php echo L('click_change_validate')?></a></p>
<input name="dosubmit" value="" type="submit" class="submit"/>
</form>
</div>

</div>

</div>

</div>
</div>
<div class="login_bottom">
	版权所有：<a href="http://www.haohead.net/" target="_blank">xxx</a> © <?=date('Y')?>
</div>
</body>
</html>